import React, { Component } from "react";
import { NavBar,Icon } from "antd-mobile";
import SearchInput from "../searchInput/SearchInput";
import "./GoodList.scss";
export default class GoodList extends Component {
  render() {
    return (
      <div className="yg-gl">
        {/* 商品列表导航条开始 */}
        <div className="yg-gl-nav">
          <NavBar
            className="gl-nav"
            icon={<Icon type="left" />}
            onLeftClick={() => window.history.go(-1)}
          >
            商品列表
          </NavBar>
        </div>
        {/* 商品列表导航条结束 */}
        {/* 商品列表搜索框开始 */}
        <div className="yg-gl-search">
          <SearchInput></SearchInput>
        </div>
        {/* 商品列表搜索框结束 */}
      </div>
    );
  }
}
